package d0325;

import com.sun.org.apache.xpath.internal.operations.String;

public class BoxTest<T> {
    private T t;

    public BoxTest(T t) {
        this.t = t;
    }

    public T getT() {
        return t;
    }
/*
    public static void main(String[] args) {
        BoxTest<Integer> integerBox=new BoxTest<Integer>();
        BoxTest<String> strBox=new BoxTest<>();
        integerBox.add(new Integer(10));
        strBox.add(new String()"world");
        System.out.println(integerBox.get());
        System.out.println(strBox.get();

    }*/
}
